define(['jquery','utils'],function ($,utils) {
  function course() {
    
  }

  course.prototype = {
    init () {
      utils.setBannerHeight();
      this.setActiveTag()
    },

    setActiveTag () {
      // 获取地址栏id
      let id = location.pathname.replace(/\/course\//ig, '');
      $(`a[c=${id}]`).addClass('dir-on')
    }
  };

  return new course();
});